package pack1;

/**
 * Created with IntelliJ IDEA
 * Description:
 * User:恋恋
 * Date:2023-02-28
 * Time:20:29
 */
public class Class1 {
    public int a = 10;//公开修饰符
    //protected String name = "Base";
//
    public static void main(String args[]) {

        int num = 1;

        switch (num) {

//            default: System.out.println("default");

            case 1: System.out.println("case1");
            default: System.out.println("default");
            case 10*2-20: System.out.println("case2");

                break;

        }

    }
}
